<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="x-ua-compatible" content="ie=7" />
		<title>组织管理</title>
		<script type='text/javascript' src='../../dwr/engine.js'></script>
		<script type="text/javascript" src="../../lovejes/lovejes.js"></script>
		<script type="text/javascript" src="../../lovejes/tab/tab-view.js"></script>
		<script type="text/javascript" src="../js/acl_sys.js"></script>
		<script src="../js/aclorg_aj.js"></script>
		<script type="text/javascript" src="../../lovejes/tree/ajaxtree/js/tree.js"></script>
		<script type="text/javascript" src="../../lovejes/tree/ajaxtree/js/context-menu.js"></script>
		<link rel="stylesheet" href="../../lovejes/tree/ajaxtree/css/tree.css" type="text/css">
		<link rel="stylesheet" href="../../lovejes/tree/ajaxtree/css/context-menu.css" type="text/css">
		<link href="../themes/sky/css/config.css" rel="stylesheet" type="text/css">
		<link href="../../lovejes/tab/css/tab-view.css"  rel="stylesheet" type="text/css" media="screen">
	</head>
	<body onload="Jes.Aclorg.init();"><form id="form1">
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr >
			<td valign="top" height="100%"><!--height 100% -->
				<!--left begin-->
				<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
					<tr>
						<td height="100%">
							<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
								<tr>
									<th align="left"><h3><img src="../themes/sky/images/Contacts.gif" width="16" height="16">组织管理</h3></th>
								</tr>
								<tr>
								  <td>
								  &nbsp;&nbsp;<img src="../themes/sky/images/shou.gif" width="15" height="14" /><a href="javascript:collapseAll('ajax_tree');">收缩</a>
								  &nbsp;&nbsp;<img src="../themes/sky/images/shou2.gif" width="16" height="16" /><a href="javascript:expandAll('ajax_tree');" >展开</a>
								  </td>
								</tr>
								<tr>
									<td height ="90%">
										<div id="org_tree" style="FONT-SIZE:13px;OVERFLOW:auto;WIDTH:280px;HEIGHT:420px;"></div>
										<ul id="contextMenu">
											<li><a href="#" onclick="addNewNode(event);return false">新增</a></li>
											<li><a href="#" onclick="editNode(event);return false">修改</a></li>
											<li><a href="#" onclick="deleteNode(event);return false">删除</a></li>
										</ul>
									</td>
								</tr>
								<tr>
								  <td>&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!--left end-->
			</td>
			<td valign="top" align="left" width="100%" height="100%">
				<!--tab begin-->
				<div id="tabView_1"><div class="dhtmlgoodies_aTab">
					<div id="div_org">
					</div>
				</div></div>
				<!--tab end-->
				<input type="hidden" id="us.oid" name="us.oid">
				<input type="hidden" id="us.oname" name="us.oname">
			</td>
		</tr>
	</table>
</form>
<!--next html is hidden -->
<div id="div_org_op" style="display:none">
	<!-- button begin -->
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td style="padding-bottom: 2px;" id="op_button">
				<input class="buttonty"  onclick="return Jes.Aclorg.save();" type="button" id="add" name="add" value="  保存  " >
				<input class="buttonty" onclick="Jes.Aclorg.html('');" type="button" id="close" name="close" value="  关闭  ">
			</td>
			<td align="right" nowrap><span class="nn">*</span> 必须</td>
			<td align="right"></td>
		</tr>
	</table>
	<!-- button end -->
	<!-- op_html begin -->
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="1" cellpadding="0" class="op_table">
					<tr class="hang_hui">
						<td width="15%">上级组织:</td>
						<td width="35%"><input type="text" id="pname" name="pname" title="上级组织" class="iptRead2" readOnly size="25"></td>
						<td width="15%"></td>
						<td></td>
					</tr>
					<tr>
						<td width="15%">组织名称:</td>
						<td width="35%"><input type="text" id="oname" name="oname" title="组织名称" nn size="25"><span class="nn">*</span></td>
						<td width="15%">编码:</td>
						<td><input type="text" id="ocode" name="ocode" title="编码" size="25"></td>
					</tr>
					<tr class="hang_hui">
						<td>类型:</td>
						<td><select id="otype" name="otype" title="类型" nn>
					          <option value="">-----类型-----</option>
					          <option value="1">本地网</option>
				  	          <option value="2">下级县市</option>
					          <option value="3">普通部门</option>
				          	</select><span class="nn">*</span></td>
						<td>次序:</td>
						<td><input type="text" id="idx" name="idx" title="次序" value="0"><span class="nn">*</span></td>
					</tr>
					<tr>
						<td>备注:</td>
						<td><textarea type="text" id="rk" name="rk" title="备注" cols="42" rows="3"></textarea></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
					  <td></td>
					  <td>
						<!--hidden-->
				          <input type="hidden" id="id" name="id" title="id">
				          <input type="hidden" id="pid" name="pid" title="pid">
				          <input type="hidden" id="ono" name="ono" title="ono">
				          <input type="hidden" id="st" name="st" title="st" value="1">
				          <input type="hidden" id="ext1" name="ext1" title="ext1">
				          <input type="hidden" id="ext2" name="ext2" title="ext2">
					  </td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<!-- op_html end -->
</div>

<!-- query org2user begin -->
<div id="div_org2us" style="display:none">
		<!-- query user begin -->
		<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center"><!--center normal null-->
		<tr><th align="left" ><span id="o_tit"></span></th></tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
						<tr>
							<td width="90" align="left">
							<select id="rolebh" name="rolebh">
							<option value="">-----状态-----</option>
							<option value="0">未激活</option>
							<option value="1">激活</option>
							</select>
							</td>
							<td width="40">账号:</td>
							<td width="90" align="left"><input type="text" id="loginid" name="loginid" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
							<td width="40">用户名:</td>
							<td width="90" align="left"><input type="text" id="usname" name="usname" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
							<td></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center" style="">
			<tr>
				<td style="padding:5px 3px">
					<input class="buttonty" type="button" id="search" name="search" onclick="Jes.Aclorg.queryUs();" value="  查询  ">
					<input class="buttonty" type="reset" id="reset" name="reset" value="  重置  " >
					<input class="buttonty4" type="button" id="addus" name="addus" onclick="Jes.Aclorg.open('user');" value="  新增用户  ">
					<input class="buttonty4" type="button" id="delus" name="delus" value="  删除用户  ">
					<input class="buttonty" type="button" id="close" name="close" onclick="Jes.Aclorg.html('');" value="  关闭  ">
				</td>
				<td align="right"></td>
			</tr>
		</table>
		<div id="page_t_1" align="right" style="width:99%"></div>
		<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" id="ta_1" class="q_table">
			<colgroup id="colg_1" trCss=" hang_hui">
				<!--出来一个完整的 exp 要修改expId val--colVal -->
				<col j="id" exp="!" typ="checkbox" align="center"></col>
				<col j="loginid" pro="style='color:#0000ff;'" align="center"></col>
				<col j="usname" align="center"></col>
				<col j="oname" align="center"></col>
				<col j="st" fn="Jes.tsf({'0':'未激活','1':'激活'},val)" align="center"></col>
				<col j="ison" fn="Jes.tsf({'0':'未在线','1':'在线'},val)" align="center"></col>
				<col j="tel" align="center"></col>
				<col j="ctime" fn="val.substr(0,11)" align="center"></col>
				<col j="op" exp="!" typ="op" val="['#','编辑|e09.png','Jes.Aclorg.open([user],[#id]);']" align="center"></col>
			</colgroup>
			<thead>
				<tr class="hang_blue">
					<td width="4%" align="center" valign="middle"><input type="checkbox" id="chk_1" onclick="Jes.all('id');" class="checkbox"></td>
					<td width="10%" align="center" valign="middle">账号</td>
					<td width="10%" align="center" valign="middle">用户名</td>
					<td width="20%" align="center" valign="middle">部门</td>
					<td width="10%" align="center" valign="middle">状态</td>
					<td width="10%" align="center" valign="middle">在线</td>
					<td width="10%" align="center" valign="middle">手机</td>
					<td width="16%" align="center" valign="middle">时间</td>
					<td width="10%" align="center" valign="middle" style="color:#9d8556">操作</td>
				</tr>
			</thead>
			<tbody id="tb_1"></tbody>
		</table>
		<!-- query user end -->
<div>
<!-- query org2user end -->
	</body>
</html>
